<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加内容分类-网站管理后台</title>
<link title="Style" href="/content/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/content/scripts/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="/content/scripts/jquery.validate.min.js"></script>
    <script type="text/javascript" src="/content/scripts/messages_zh.js"></script>
    <script type="text/javascript">
    $(function(){
        $("#ad_edit").validate();

    })
    </script>
</head>
<body>
<div class="AsmTopbox">
    <a href="#" class="logo"><img src="/content/images/logo.png" width="185" /></a>
    <div class="AsmNav">
        <div class="Nav_top">
            <strong id="show_MyUserName">easystarxl</strong>，欢迎您登录广告系统，您好！ [<a href="#">修改资料</a>，<a href="#" onclick="return confirm('确定要退出系统吗？');">退出系统</a>]&nbsp;&nbsp;
            <img src="/content/images/icon_Ss.gif" width="20" height="20" /><a href="http://www.0001688.com/" target="_blank">查看华贸城官网</a>&nbsp;&nbsp;
            <img src="/content/images/Notice.gif" align="absmiddle" />
            <a href="#">点击联系客服！</a>
            <div id="FxsGg" style="float:left;"></div>
            <input type="hidden" id="OldMsg">
        </div>
        <div class="Top_Menu">
            <div class="Top_Menu_Off"><a href="/manage">首页</a></div>
            <div class="Top_Menu_On"><a href="/manage/news">内容管理</a></div>
            <div class="Top_Menu_Mid"><img border="0" src="/content/images/Top_Menu_Mid.gif"></div>
            <div class="Top_Menu_Off"><a onclick="return confirm('确定要退出系统吗？');" href="#">退出</a></div>
        </div>
    </div>
</div>
<!--内容 star-->
<div class="AsmW100">
    <div class="Asmleftbox Left_Top_Menu">
        <div class="mt"><s></s><h2>内容管理</h2></div>
        <div class="mc childTable">
            <ul>
                <li class="Left_Menu_Off"><a href="/manage/news">内容管理</a></li>
                <li class="Left_Menu_On"><a href="/manage/news/category">分类管理</a></li>
                <li class="Left_Menu_Off"><a href="/manage/news/newsadd">添加内容</a></li>
                
            </ul>
        </div>
    </div>
    <!-- 左边菜单完 -->   
    <!-- 左边菜单完 -->    
    <div class="Asmrightbox">
    <table width="100%" border="0" cellspacing="0" cellpadding="10">
        <tr>
            <td>
                <div class="Main_Menu" style="display:block;">
                    <div class="Main_Menu_On"><a href="#">添加内容分类-内容管理</a></div>
                </div>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Main_Table">
                    <tr>
                        <td class="Main_Table_Td">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>&nbsp;
                                        
                                    </td>
                                    <td width="100">
                                        <input type="hidden" onclick="history.go(-1);" class="btn_Back" onfocus="this.blur();"
                                            value="点击返回" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#FFFFFF" style="padding: 20px;" class="Asmfliter">
                            <!-- 内容开始 -->
                            <form name="edit_frm" id="ad_edit" enctype="multipart/form-data" action="/manage/news/categoryaddaction" method="post">
                               
                                <table class="dataintable">
                                  <tbody><tr>
                                    <th><span class="xing">*</span>分类名称：</th>
                                    <td><input class="t_ipt w_310" name="name" maxlength="50" id="ad_title" style="color: rgb(153, 153, 153);" required><span id="ad_titleTip" style="margin: 0px; padding: 0px; background: none repeat scroll 0% 0% transparent;"  ><span class="onError_top"></span></span></td>
                                  </tr>
                                  <tr>
                                    <th> 描述：</th>
                                    <td><textarea id="dataTradeContent" name="description" style="width:350px;height:50px;"></textarea></td>
                                  </tr>
                                  <tr>
                                    <th> 上级分类：</th>
                                    <td>
                                        <select name="parentid">
                                        <option value="0">--一级分类--</option>
                                        <?php foreach ($category_list as $item): ?>
                                        <option value="<?php echo $item['CategoryId'];?>"><?php echo $item['CategoryName'];?></option>
                                        <?php endforeach;?>
                                       
                                        </select>
                                        
                                     </td>
                                  </tr>
                                 
                                  <tr>
                                    <th></th>
                                    <td>
                                    <input type="submit" value=" 添 加 " class="btn fore" />
                                    </td>
                                  </tr>
                                </tbody>
                                </table>
                              </form>
                            <!-- 内容结束 -->
                        </td>
                    </tr>
    
                </table>
            </td>
        </tr>
    </table>
	</div>
</div>
<!--内容 end-->
</body>
</html>
